#ifndef	__GAME_APP_IMPL_H__
#define	__GAME_APP_IMPL_H__

#include "capplication.h"

class GameAppImpl : public CApplication
{
public:
	GameAppImpl();
	~GameAppImpl();

	void InitScene(void);

public:
	void	DoFrame(float timeDelta);
	void	(*UpdateFuncPtr)(float dt);
	void	(*RenderFuncPtr)();

	void	SetUpdateRenderFuncPtr(void(*UpdateFunc)(float dt),void(*RenderFunc)())
	{
		UpdateFuncPtr = UpdateFunc;
		RenderFuncPtr = RenderFunc;
	}

public:
	void	SetProjectionMatrix(const D3DXMATRIX& mat ){ m_matProjection = mat; };
};

#endif	//__GAME_APP_IMPL_H__